Neverwinter Nights "Holdable Flowers" Hak Pak V1.0
by Brian Dunn wheelmanforhire@yahoo.com
aka Brother Roth

===========================Installation
This Hak Pak adds the models listed below to NeverWinter Nights.

This hak comes with a custom baseitems.2da file (details of customization below).  If you include this hak in a module using other haks - you will need to reconcile any differences between this baseitems.2da and other custom baseitems2da files [e.g. copy the 4 custom lines from this file (lines 209-212) to a higher (overriding) hackpak if it has a baseitems.2da].


==========================General Usage (for a new non-hak module)
1) Open the toolset (start a new module as per usual means)
2) Under the modules custom content properties - associated this hak with the module.
3) Save module.
4) Quit the toolset.
5) Restart the toolset.
6) Open an area.
7) Under Wizards menu, select Item Wizard (or Ctrl-Alt-I).
8) From the list of categories (and assuming you made no baseitems.2da changes, you will see Flower Vase listed four times.

   The first is for single flowers
   The second is for bouquets of flowers
   The third is for single crystal flowers
   The fourth is for bouquets of crystal flowers

9) Select the "Flower Vase" category of your choice.  You can edit the hak's baseitems.2da file to change the category names (see notes below) if you don't like my choice.
10) Use the appearances tab for created items to change to different flower types.

==========================baseitems.2da
An explanation of changes:

-set Name to 68954 (from Dialog.tlk) = Flower Vase
-label set to "handflowers" (and others) but label not used unless name is **** and this feature is not implemented in NWN yet.
-Model type must be 2 to diplay on ground as flowers (0 displays as bag)
-created a new item class Wflwr (individual flowers)
   - all 3D models have this wFlwr prefix
   - all inventory icons have the iwFlwr prefix
-created a new item class Wflwr (flower bouquets)
   - all 3D models have this wBoqt prefix
   - all inventory icons have the iwBoqt prefix
-created a new item class WCflr (crystal flowers)
   - all 3D models have this wClfr prefix
   - all inventory icons have the iwClfr prefix
-created a new item class WCfbq (crystal bouquets)
   - all 3D models have this WCfbq prefix
   - all inventory icons have the iwCfbq prefix


WeaponWield = 4 (two handed items - e.g. staff)
Description - use 198 (blank) since no corresponding dialog.tlk entry 
Inventory Sound 3 (cloth) - if no good try 2 (soft material)
Store panel = 4 Shows up under (misc items) on merchants
Base Item Stat Ref = 59 (blank)
Rotate on Ground = try 0 so its not standing up at an angle
Tenthlbs = set to 1 (a tenth of a pound)

NOTES: In order to use the staff holding animation the flowers were defined as a weapon.  And they will work as a weapon (you an even put magic effects on them) - however, nodes for the 7 magic effects were not included in this release - because they were not intended to actually be new NWN weapons.

==========================Models
-Single Flowers-
wFlwr_b_011 - blank bottom
wFlwr_m_011 - lily
wFlwr_m_021 - Red rose
wFlwr_m_031 - purple rose
wFlwr_m_041 - blue rose
wFlwr_m_051 - yellow mum
wFlwr_m_061 - blue carnation
wFlwr_m_071 - pink carnation
wFlwr_m_081 - red/orange tulip
wFlwr_t_011 - blank top

-Bouquets-
wBoqt_b_011 - blank bottom
wBoqt_m_011 - Lilly
wBoqt_m_021 - 12 red roses
wBoqt_m_031 - 12 purple roses
wBoqt_m_041 - 12 blue roses
wBoqt_m_051 - mums
wBoqt_m_061 - blue carnations
wBoqt_m_071 - pink carnations
wBoqt_m_081 - red/orange tulips
wBoqt_m_091 - 12 mixed roses (red, purple & blue)
wBoqt_m_012 - mixed flowers
wBoqt_t_011 - blank top

-Single Crystal Flowers-
wClfr_b_011 - blank bottom
wClfr_m_011 - red crystal rose
wClfr_m_021 - purple crystal rose
wClfr_m_031 - blue crystal rose
wClfr_t_011 - blank top

-Crystal Bouquets-
wCfbq_b_011 - blank bottom
wCfbq_m_011 - 4 red crystal roses
wCfbq_m_021 - 4 purple crystal roses
wCfbq_m_031 - 4 blue crystal roses
wCfbq_m_011 - 4 mixed crystal roses (red, purple & blue)

-textures-
for non-crystal roses:
	bdFlwrs1.tga (257k) - custom texture by Brian Dunn

crystal roses do not use a texture (a setting in baseitems.2da tells them to render with environment reflection.

On the texture (near the middle), you will see a tall purple "seedy" type flower (Liatrus I believe) that was not used in any of the models.  At the time this texture was created, it was assumed I could use the alpha channel to clip the image - but it turns out apparently that weapons in NWN don't use the alpha channel for clipping but for mapping environment reflection.  The Liatrus flower would be too polygon demanding to build without the clipping technique and was not included.  And the other flowers that I hand intended to use clipping on, instead got build with extra polygons to make them work (However the over all hakpak size still remains fairly small as haks go 3,024k).

==========================2D inventory icons
All mdls have an associated inventory icon (begins with "i" and follows mdl name).
All inventory icons for the above items are 32 x 64.


==========================Additional Notes:
The following dialog.tlk entries were listed as likely candidates for base item names (there may be more options but dialog.tlk is big and takes a long time to go through).
If you prefer, you can change the baseitems.2da file NAME entry with any of these numbers to use one more appropriate to your needs.

1160 = custom
1592 = Miscellaneous
108593 = Focus object
95085 = seeds
86494 = Hold!
84541 = Middle
83705 = Resource
80311 = _temp
80207 = Big Vase
75661 = Herbalist
75086 = Holy Symbol
69103 = High Forest
68965 = Inventory
68954 = Flower Vase             <-------------------This one was selected
67609 = Natural
65629 = Countryside


=========================Ideas for usage
Unique Treasure objects!
- Specifically the crystal roses would be cool - esp. as magic items!
- it is my thought that the single crystal roses would be worth the least followed by the solid color crystal roses, then the multicolor crystal roses.  Enchantments would add additional levels of value.

Unique NPC villain weapon
- When is the last time a Chaotic Evil Temptress beat your Paladin with Shondar's Icy Crystal Rose of Doom?
- Maybe a druid would use just such a weapon.

Color / plotlines
- A flower merchant in a town is a way to add color to a module.
- A magic crystal flower could be the object of a quest.
- Funeral scenes/cut scenes - everybody should have lilies
- Wedding scenes/cut scenes - roses of course!
- Mystery - flowers could be the calling card of the murderer.
- Romance scenes/cut scenes - again flowers are good for this.
- Comedy / Tragedy - You get the idea...

Role-playing
- Most obviously this hak would enrich romantic or tragic role-play in a multiplayer and/or persistent world environment.

Scripting
-The ambitions author could add some "decay" code for the fresh flowers that automatically removed them from inventory after X amount of days (hours?) - anyone doing this I'd love to see and include good scripts for this.

-I guess, A Persistent World with a crafting system could implement the growing, collecting and sales of flowers or the crafting of fine glass/crystal ones.

=========================Future enhancement ideas:
o This hak begs for a flower cart "placeable".  If I get enough requests I may build one (one may already exist!!!).  Even without the city market tile sets would be good outdoor locations for flower merchants.
o I think there should be metallic flowers as well Brass, Gold, Copper, etc.  Again enough demand might make it worth it.

=========================Credits
o Seth1001 from the Bioware forums had posted some images of flowers for a "holdable flower"  pack work in progress.  He provided some suggestions / ideas on ways to proceed.
o Keidric of the Exaria Persistent world requested this hak when I asked how I could help and suggested I check out Lisa's (Tiamiat on Bioware) technique for holy items.
   -Visit www.exaria.net for more information.
o I studied the technique used by Lisa (Tiamiat on Bioware) of Lisa's clothing fame and reused those concepts throughout this hak.
o The models are all original by the author Brother Roth
o The textures and inventory icons are all original by the author Brother Roth with the exception of one element:
   -the green leaf image was lifted from a web image search result (source not documented)
o The idea of a crystal rose is not original either: www.giftofcrystal.com
